Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to OrdinaryDiffEq sub-packages #71

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ranocha
Copy link
Member

@ranocha ranocha commented Feb 25, 2025

See trixi-framework/Trixi.jl#2266 for the corresponding PR to Trixi.jl. This should be merged after #69.

Copy link

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.28%. Comparing base (ac44c0b) to head (b687301).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #71   +/-   ##
=======================================
  Coverage   99.28%   99.28%           
=======================================
  Files          60       60           
  Lines        2652     2652           
=======================================
  Hits         2633     2633           
  Misses         19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@andrewwinters5000 andrewwinters5000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ranocha for tackling this! One question, do we need to update the Project.toml in the main directory as well? Or if we just keep OrdinaryDIffEq in the main installation instructions do we automatically get access to all the available solvers?

@patrickersing Just a note. If we want to use some of the implicit KenCarp integrators you have experimented with into the testing we would need to include the subpackage OridinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf" as well in the test/Project.toml.

@ranocha
Copy link
Member Author

ranocha commented Feb 26, 2025

One question, do we need to update the Project.toml in the main directory as well?

I don't see OrdinaryDiffeq.jl in https://github.com/trixi-framework/TrixiShallowWater.jl/blob/main/Project.toml

Or if we just keep OrdinaryDIffEq in the main installation instructions do we automatically get access to all the available solvers?

Yes - but you need to load OrdinaryDiffEq instead of the sub-packages.

@andrewwinters5000
Copy link
Member

One question, do we need to update the Project.toml in the main directory as well?

I don't see OrdinaryDiffeq.jl in https://github.com/trixi-framework/TrixiShallowWater.jl/blob/main/Project.toml

Whoops, my mistake. We kept it out of the Project.toml but we would need to adjust the (yet to completed) installation instructions in the docs PR #54

@ranocha
Copy link
Member Author

ranocha commented Feb 26, 2025

Yes, that's true. We also changed the installation instructions for Trixi.jl accordingly. You should tell people to install the two OrdinaryDiffEq.jl subpackages I used in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants